package com.friday.dao;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CompanyDao {

    JSONObject getCompanyById(int id);

    int editCompanyById(JSONObject company);

    int addCompany(JSONObject company);

    int delCompanyById(int id);

    JSONArray getAllCompany();

    JSONArray getMatchCompany(int id,String authority);


}
